import request from 'axios'

export function getDictNation () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/3',
    method: 'get'
  })
}
export function getDictQyLb () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/17',
    method: 'get'
  })
}
export function getDictDwsx () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/16',
    method: 'get'
  })
}
export function getDictQyczlx () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/18',
    method: 'get'
  })
}

export function getDictKgqk () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/19',
    method: 'get'
  })
}
export function getDictJyfw () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/20',
    method: 'get'
  })
}
export function getDictMonitoring () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/15',
    method: 'get'
  })
}
export function getDictSex () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/2',
    method: 'get'
  })
}

export function getDictZjlx () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/1',
    method: 'get'
  })
}

export function getDictRklb () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/343',
    method: 'get'
  })
}

export function getDictRkzxlb () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/346',
    method: 'get'
  })
}

export function getDictFwyt () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/8',
    method: 'get'
  })
}

export function getDictFwlb () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/349',
    method: 'get'
  })
}
export function getDictFwxz () {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/getdictbyparent/350',
    method: 'get'
  })
}

export function getDictById (id) {
  return request({
    url: window.SITE_CONFIG.baseUrl + '/common/dgbasedictionary/info/' + id,
    method: 'get'
  })
}
